package com.cheejee.goodscenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.cheejee.goodscenter.module.entity.GoodsSaleTask;

@Mapper
public interface GoodsSaleTaskMapper {
    int deleteByPrimaryKey(Long id);

//    int insert(GoodsSaleTask record);

    int insertSelective(GoodsSaleTask record);

    GoodsSaleTask selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsSaleTask record);

//    int updateByPrimaryKey(GoodsSaleTask record);
    
 // ################ 以上为mybatis generator生成 #####################
    
    List<GoodsSaleTask> selectBySelective(@Param("goodsId")Long goodsId, @Param("isOn")Boolean isOn);
}